﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataControl;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            Print();
            Console.ReadLine();
        }

        public static void Print()
        {
            //var de = new Document_Envelope()
            //             {
            //                 DocXML = "<b>Hello!</b>",
            //                 DocumentTypeFK = 12,
            //                 EnvelopeId = 3,
            //                 RejectionReason = "bla-bla",
            //                 SenderFK = 4,
            //                 Signature = "bla-bla",
            //                 StatusFK = 5
            //             };

            //DataControl.DataControl.Add(de);


            //var lst = DataControl.DataControl.GetAllItems<Document_Envelope>().ToArray();


            //Console.WriteLine("Done!");


            //Console.WriteLine(DataControl.DataControl.GetDocumentTypeIdByName("RemittanceAdvice"));


            //Console.WriteLine(DataControl.DataControl.GetAccountByNumber("24826734"));

            //DataControl.DataControl.UpdateBalance(1, 13.666m);
            //Console.WriteLine("Done!");


            //var lsr = DataControl.DataControl.GetClientRoles(2);

            //foreach (Document_Envelope l in lst)
            //{
            //    Console.WriteLine(l);
            //}
        }
    }
}
